<?php
/* @var $this CarPricesController */
/* @var $model CarPrices */
?>
<div class="content_">
    <div class="product_name"><h1>Bảng giá xe <?php echo $_GET["car_type"] ?></h1></div>
    <table border="1">
        <tr>
            <th>MẪU XE</th>
            <th>ĐỘNG CƠ</th>
            <th>HỘP SỐ</th>
            <th>CÔNG SUẤT TỐI ĐA</th>
            <th>MOMEN XOẮN CỰC ĐẠI</th>
            <th>GIÁ BÁN<br>(triệu đồng)</th>
        </tr>
        <?php foreach($model as $obj):?>
            <tr>
                <td><?php echo $obj->car_name ?></td>
                <td><?php echo $obj->dong_co ?></td>
                <td><?php echo $obj->hop_so ?></td>
                <td><?php echo $obj->cong_suat ?></td>
                <td><?php echo $obj->momen_xoan ?></td>
                <td><?php echo $obj->price ?></td>
            </tr>
        <?php endforeach ?>
    </table>
</div>
